package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Dept;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DeptService extends IService<Dept> {
    List<Dept> findAll();
    void deleteById(Integer id);
    void add(Dept dept);
    Dept getById(Integer id);
    void update(Dept dept);
}
